package org.dromara.comm.controller;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.dromara.comm.domain.AsCircleManagement;
import org.dromara.comm.service.AsCircleManagementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * 生活圈控制层
 *
 * @author: 郭伟明
 * @date: 2024-08-01 10:42
 **/
@RestController
@RequestMapping("/AsCircleManagement")
@Tag(name = "生活圈控制层")
public class AsCircleManagementController {

    @Autowired
    private AsCircleManagementService asCircleManagementService;

    @Operation(summary = "查询生活圈")
    @GetMapping("/selectAsCircleManagement")
    public ResponseEntity<Object> selectAsCircleManagement() {
        return new ResponseEntity<>(asCircleManagementService.selectAsCircleManagement(), HttpStatus.OK);
    }
}
